<?php include("session.php");?>
<html>
<head>
	<link rel="shortcut icon" href="img/favicon.ico" />
	<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
	<link href="css/font-awesome.css" rel="stylesheet" type="text/css" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.js"></script>
	<title> Biblioteca Querigma v2.0</title>
	
</head>
	<body>
		<div id="container"  class="span12">
			<div class="row">
				<div id="header" class="span12">
					<div class="row">
						<div id="header-logo" class="span3">
							<img src="img/logo.png">
						</div>
						<?php if(empty($_SESSION['nome'])):?>
							<div id="header-login" class="span3 offset6">
								<form id="form-login" method="post" action="login.php">
									<input type="text" name="login" placeholder="login" class="span2 big-margin-left">
									<input type="password" name="senha" placeholder="senha" class="span2 big-margin-left">
									<button type="submit" id="header-login-btn" class="btn btn-link">
		  								<i class="icon-signin icon-3x"></i>
									</button>
								</form>
							</div>
						<?php else:?>
							<div id="header-login" class="span4 offset5">
								<h5 class="header-login-text">Bem Vindo(a) <br> <?=$_SESSION['nome']?></h5>
								<a href="logout.php" id="header-logout-btn" class="btn btn-link"><i class="icon-signout icon-3x"></i></a>
							</div>
						<?php endif;?>
					</div>
				</div>
			</div>
		<div class="row">
			<div id="menu" class="span3 text-center">
				<?php include("menu.php");?>
			</div>
			<div id="content" class="span9">